$f: 19.2;

.home {
  .section1 {
    background: linear-gradient(180deg, rgba(245, 245, 245, 0.00) 0%, #F5F5F5 100%);
    padding: 160/$f+vw 240/$f+vw;
    display: flex;
    justify-content: space-between;

    .l {
      width: 640/$f+vw;

      .t {
        color: rgba(0, 0, 0, 0.9);
        font-size: 20/$f+vw;
        width: 258/$f+vw;
        border-bottom: 2/$f+vw solid rgba(5, 18, 40, .6);
        padding-bottom: 4/$f+vw;
      }

      .t2 {
        margin: 40/$f+vw 0 21/$f+vw 0;
        color: rgba(0, 0, 0, 0.9);
        line-height: 1.5;
        font-size: 50/$f+vw;
        letter-spacing: 0.1px;
        font-family: "Montserrat";
        font-weight: 300;
      }

      .des {
        color: rgba(0, 0, 0, 0.6);
        width: 477/$f+vw;
        font-size: 18/$f+vw;
        text-align: justify;
        line-height: 1.5;
      }
    }

    .r {
      overflow: hidden;

      img {
        width: 738/$f+vw;
        height: 456/$f+vw;
        object-fit: cover;
        border-radius: 20/$f+vw;
        transition: all 600ms ease-in-out;
      }

      &:hover {
        img {
          transform: scale(1.05);
        }
      }
    }
  }

  .section2 {
    margin: 160/$f+vw 240/$f+vw;

    .t {
      color: rgba(0, 0, 0, 0.9);
      font-size: 20/$f+vw;
      width: 258/$f+vw;
      border-bottom: 2/$f+vw solid rgba(5, 18, 40, .6);
      padding-bottom: 4/$f+vw;
    }

    .content {
      margin-top: 64/$f+vw;
      display: flex;
      justify-content: space-between;

      .l {
        overflow: hidden;

        img {
          width: 738/$f+vw;
          height: 456/$f+vw;
          object-fit: cover;
          border-radius: 20/$f+vw;
          transition: all 600ms ease-in-out;
        }

        &:hover {
          img {
            transform: scale(1.05);
          }
        }
      }

      .r {
        width: 640/$f+vw;

        .des {
          color: rgba(0, 0, 0, 0.90);
          font-size: 40/$f+vw;
          line-height: 1.5;
          margin: 44/$f+vw 0 108/$f+vw 0;
          letter-spacing: 0.1px;
          font-family: "Montserrat";
          font-weight: 300;
          span {
            font-weight: bold;
          }
        }

        .des2 {
          color: rgba(0, 0, 0, 0.90);
          font-size: 18/$f+vw;
          text-align: justify;
          line-height: 1.5;
          letter-spacing: 0.1px;
        }
      }
    }
  }

  .section3 {
    margin: 0 240/$f+vw;
    background: url(../images/a3.png) no-repeat;
    background-size: cover;
    border-radius: 40/$f+vw;
    height: 700/$f+vw;
    position: relative;

    &::before {
      content: '';
      display: block;
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      border-radius: 40/$f+vw;
    }

    .content {
      padding: 230/$f+vw 96/$f+vw;
      position: relative;
      z-index: 1;

      .des {
        color: rgba(255, 255, 255, 0.9);
        font-size: 40/$f+vw;
        line-height: 1.5;
        letter-spacing: 0.1px;
        font-family: "Montserrat";
        font-weight: 300;
      }

      a {
        margin: 60/$f+vw 0 0 107/$f+vw;
        border-radius: 30/$f+vw;
        background: #FFF;
        width: 200/$f+vw;
        height: 60/$f+vw;
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(0, 0, 0, 0.9);
        font-size: 20/$f+vw;
        line-height: 1.3;
        transition: all 600ms;
        svg{
          width: 27/$f+vw;
          margin-left: 10/$f+vw;
          display: block;
          transition: all 600ms;
        }
        &:hover{
          background: #3FAEEE;
          color:white;
          svg{
            filter: invert(100%);
          }
        }
      }
    }
  }

  .section4{
    margin: 160/$f+vw 240/$f+vw;
    display: flex;
    justify-content: space-between;
  
    .l {
      width: 640/$f+vw;

      .p1 {
        margin: 106/$f+vw 0 49/$f+vw 0;
        color: rgba(0, 0, 0, 0.9);
        line-height: 1.5;
        font-size: 40/$f+vw;
        letter-spacing: 0.1px;
        font-family: "Montserrat";
        font-weight: 300;
      }

      .des {
        color: rgba(0, 0, 0, 0.6);
        font-size: 18/$f+vw;
        text-align: justify;
        line-height: 1.5;
        letter-spacing: 0.1px;
      }
    }

    .r {
      overflow: hidden;

      img {
        width: 738/$f+vw;
        height: 456/$f+vw;
        object-fit: cover;
        border-radius: 20/$f+vw;
        transition: all 600ms ease-in-out;
      }

      &:hover {
        img {
          transform: scale(1.05);
        }
      }
    }
  }

  @media screen and (max-width: 1024px) {
    padding-top: 60px;
    .section1{
      padding: 20px 5%;
      flex-direction: column;
      .l{
        width: 100%;
        .t{
          font-size: 20px;
          width: 80%;
          border-bottom: 2px solid rgba(5,18,40,0.6);
          padding-bottom: 4px;
        }
        .t2{
          margin: 20px 0;
          font-size: 24px;
          line-height: 1.3;
        }
        .des{
          font-size: 16px;
          line-height: 1.3;
          width: 100%;
        }
      }
      .r{
        width: 100%;
        margin-top: 20px;
        img{
          width: 100%;
          height: auto;
          border-radius: 20px;
        }
      }
    }
    .section2{
      margin: 30px 5%;
      .t{
        font-size: 20px;
        width: 80%;
        border-bottom: 2px solid rgba(5,18,40,0.6);
        padding-bottom: 4px;
      }
      .content{
        flex-direction: column;
        margin-top: 30px;
        .l{
          img{
            width: 100%;
            height: auto;
            border-radius: 20px;
          }
        }
        .r{
          width: 100%;
          .des{
            font-size: 24px;
            line-height: 1.3;
            margin: 15px 0 20px 0;
          }
          .des2{
            font-size: 16px;
            text-align: left;
          }
        }
      }
    }
    .section3{
      margin: 0 5%;
      height: 320px;
      .content{
        padding: 80px 30px;
        .des{
          font-size: 18px;
        }
        a{
          width: 150px;
          height: 35px;
          border-radius: 30px;
          margin: 30px 0 0 30px;
          p{
            font-size: 16px;
          }
          svg{
            width: 15px;
            margin-left: 5px;
          }
        }
      }
    }
    .section4{
      margin: 40px 5%;
      flex-direction: column;
      .l{
        width: 100%;
        .p1{
          margin: 20px 0;
          font-size: 24px;
          line-height: 1.3;
        }
        .des{
          font-size: 16px;
          line-height: 1.3;
          width: 100%;
        }
      }
      .r{
        width: 100%;
        margin-top: 20px;
        img{
          width: 100%;
          height: auto;
          border-radius: 20px;
        }
      }
    }
  }
}